package com.zn.opit.shirodemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@MapperScan(basePackages = {"com.zn.opit.shirodemo.mapper"})
@SpringBootApplication
public class AppMain {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplicationBuilder()
                .sources(AppMain.class)
                .bannerMode(Banner.Mode.OFF).build();
        app.run(args);
    }
}
